.class Lrexsee/core/progress/RexseeProgressCover$1$2;
.super Ljava/lang/Object;
.source "RexseeProgressCover.java"

# interfaces
.implements Landroid/widget/Chronometer$OnChronometerTickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/progress/RexseeProgressCover$1;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lrexsee/core/progress/RexseeProgressCover$1;

.field private final synthetic val$chronometer:Lrexsee/core/widget/LabelDiv;

.field private final synthetic val$timeout:I

.field private final synthetic val$timeoutRunnable:Ljava/lang/Runnable;


# direct methods
.method constructor <init>(Lrexsee/core/progress/RexseeProgressCover$1;ILjava/lang/Runnable;Lrexsee/core/widget/LabelDiv;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/progress/RexseeProgressCover$1$2;->this$1:Lrexsee/core/progress/RexseeProgressCover$1;

    iput p2, p0, Lrexsee/core/progress/RexseeProgressCover$1$2;->val$timeout:I

    iput-object p3, p0, Lrexsee/core/progress/RexseeProgressCover$1$2;->val$timeoutRunnable:Ljava/lang/Runnable;

    iput-object p4, p0, Lrexsee/core/progress/RexseeProgressCover$1$2;->val$chronometer:Lrexsee/core/widget/LabelDiv;

    .line 112
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onChronometerTick(Landroid/widget/Chronometer;)V
    .locals 4
    .param p1, "c"    # Landroid/widget/Chronometer;

    .prologue
    .line 115
    invoke-virtual {p1}, Landroid/widget/Chronometer;->getText()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lrexsee/core/progress/RexseeProgressCover;->string2second(Ljava/lang/String;)I

    move-result v0

    .line 116
    .local v0, "elapsedTime":I
    iget v1, p0, Lrexsee/core/progress/RexseeProgressCover$1$2;->val$timeout:I

    if-lez v1, :cond_1

    iget v1, p0, Lrexsee/core/progress/RexseeProgressCover$1$2;->val$timeout:I

    if-lt v0, v1, :cond_1

    .line 117
    iget-object v1, p0, Lrexsee/core/progress/RexseeProgressCover$1$2;->val$timeoutRunnable:Ljava/lang/Runnable;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lrexsee/core/progress/RexseeProgressCover$1$2;->val$timeoutRunnable:Ljava/lang/Runnable;

    invoke-interface {v1}, Ljava/lang/Runnable;->run()V

    .line 121
    :cond_0
    :goto_0
    return-void

    .line 119
    :cond_1
    iget-object v1, p0, Lrexsee/core/progress/RexseeProgressCover$1$2;->val$chronometer:Lrexsee/core/widget/LabelDiv;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "label:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ";"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lrexsee/core/widget/LabelDiv;->setStyle(Ljava/lang/String;)V

    goto :goto_0
.end method
